feat: enable pluginDivisionMode schema tests for OCP Operator nightly jobs#4685
Conversation
Signed-off-by: Fortune-Ndlovu <fndlovu@redhat.com>
Code Review by Qodo
Context used 1. Errexit breaks schema-mode skip
|
…ision-mode-schema
|
The container image build workflow finished with status: |
|
/test e2e-ocp-operator-nightly |
|
/test e2e-ocp-helm-nightly |
Review Summary by QodoEnable schema-mode E2E tests for OCP Operator deployments
WalkthroughsDescription• Enable pluginDivisionMode schema E2E tests for OCP Operator nightly jobs • Deploy real Crunchy PostgreSQL cluster and configure schema-mode environment variables • Replace placeholder database secrets with real credentials via configure_external_postgres_db • Parameterize schema-mode log messages to distinguish Helm vs Operator deployments Diagramflowchart LR
A["OCP Operator Pipeline"] -->|"source schema-mode-env.sh"| B["Schema Mode Configuration"]
C["External PostgreSQL<br/>Crunchy Cluster"] -->|"configure_external_postgres_db"| D["Real DB Credentials"]
D -->|"patch postgres-cred secret"| E["Runtime Namespace"]
B -->|"configure_schema_mode_runtime_env<br/>with install_method=operator"| F["Schema-Mode Tests"]
E -->|"SCHEMA_MODE_* env vars"| F
File Changes1. .ci/pipelines/jobs/ocp-operator.sh
|
…ision-mode-schema
|
/test e2e-ocp-operator-nightly |
…ision-mode-schema
|
/test e2e-ocp-helm |
|
/test e2e-ocp-operator-nightly |
…ision-mode-schema
|
/test e2e-ocp-operator-nightly |
|
/test e2e-ocp-helm-nightly |
|
/review |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
|
/agentic_review |
|
Persistent review updated to latest commit 68dfd51 |
…ision-mode-schema
|
/test e2e-ocp-operator-nightly |
|
/test e2e-ocp-helm |
|
/retest |
|
/test e2e-ocp-operator-nightly |
1 similar comment
|
/test e2e-ocp-operator-nightly |
…ision-mode-schema
|
/test e2e-ocp-operator-nightly |
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4685 +/- ##
=======================================
Coverage ? 69.56%
=======================================
Files ? 109
Lines ? 4705
Branches ? 535
=======================================
Hits ? 3273
Misses ? 1432
Partials ? 0
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
|
/test e2e-ocp-helm |
|
/test e2e-ocp-operator-nightly |
|
/test e2e-ocp-helm |
1 similar comment
|
/test e2e-ocp-helm |
|
/test e2e-ocp-operator-nightly |
|
@Fortune-Ndlovu: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |



Description
pluginDivisionMode: schemaE2E tests for OCP Operator deployments by wiring up the CI pipelineto deploy a real Crunchy PostgreSQL cluster and configure
SCHEMA_MODE_*environment variables"tmp"/"tmp") in the operator runtime namespace with real CrunchyPostgreSQL credentials via
configure_external_postgres_dbschema-mode-env.shlog messages to distinguish Helm vs Operator in CI outputWhich issue(s) does this PR fix
PR acceptance criteria
Please make sure that the following steps are complete:
How to test changes / Special notes to the reviewer